package xyz.xtt.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Jim kwok
 * @since 2025/2/28
 */

@Schema(description = "管理后台处置资产VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AssetHandleVo {

    @Schema(description = "活动表id")
    private Long activityId;

    @NotBlank(message = "资产处置方式不能为空")
    private String method;

    @Schema(description = "目标资产id")
    private Long targetAsset;

    @Schema(description = "目标资产持有人uid")
    private Long assetUid;

    @Min(value = 1, message = "处置的资产数量最少1个")
    private Integer amount;


}
